<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="DeuriszStyle.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript">

    </script>
</head>
<body>
<form id="" action=<?php echo $_SERVER['PHP_SELF']?> method="POST" >
    <div class="MainForm">
    
        <h2>
            Regisztracio</h2>
        <table style="width: 100%;">
            <tr>
                <td>
                    <div class="subForm">
                    <h3>Szemelyes adatok</h3>
                        <table style="width: 100%;">
                            <tr>
                                <td>
                                    Vezeteknev* 
                                </td>
                                <td>
                                    <input id="Text1" type="text" name="LastName" value=<?php echo $_POST['LastName']?>  >
                                </td>
                                <td>
                                    <div class="errorMessage">
                                        <?php echo $ErrorList['LastName']; ?>
                                    </div>
                                </td>
                            </tr>
                            <tr>                            
                                <td>
                                    Kozepsonev (?)
                                </td>
                                <td>
                                    <input id="Text2" name="MiddleName" type="text" value="<?php echo $_POST['MiddleName']?>" />
                                </td>
                                <td>
                                    <div class="errorMessage">
                                        <?php echo $ErrorList['MiddleName'] ?></div>
                                </td>
                                
                                </tr>
                            
                            <tr>
                                <td>
                                    Keresztnev*
                                </td>
                                <td>
                                    <input id="Text3" name="FirstName" type="text" value="<?php echo $_POST['FirstName']?>" />
                                </td>
                                <td>
                                    <div class="errorMessage">
                                       <?php echo $ErrorList['FirstName'] ?></div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Anyja vezetekneve*
                                </td>
                                <td>
                                    <input id="Text11" name="MotherLastName" type="text" value="<?php echo $_POST['MotherLastName']?>" />
                                </td>
                                <td>
                                    <div class="errorMessage">
                                        <?php echo $ErrorList['MotherLastName'] ?></div>
                                </td>
                            </tr>
                            
                            <tr>
                                <td>
                                    Anyja keresztneve*
                                </td>
                                <td>
                                    
                                    <input id="Text15" name="MotherFirstName" type="text" value="<?php echo $_POST['MotherFirstName']?>"/></td>
                                <td>
                                    <div class="errorMessage">
                                        <?php echo $ErrorList['MotherLastName'] ?></div>
                                       
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Szuletesi ev* (1980.08.09)</td>
                                <td>
                                    
                                    <input id="Text13" name="DOB" type="text" value="<?php echo $_POST['DOB']?>"/></td>
                                <td>
                                    <div class="errorMessage">
                                        <?php echo $ErrorList['DOB'] ?></div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Hely*</td>
                                <td>
                                    
                                    <input id="Text14" name="PlaceOfBirth" type="text" value="<?php echo $_POST['PlaceOfBirth']?>" /></td>
                                <td>
                                    <div class="errorMessage">
                                        <?php echo $ErrorList['PlaceOfBirth'] ?></div>
                                </td>
                            </tr>
                            
                        </table>
                    </div>
                </td>
                <td>                
                    <div class="subForm">
                    <h3>Vegzettseg</h3>
                        <table style="width: 100%;">
                            <tr>
                                <td>
                                    Vegzettseg(1)</td>
                                <td>
                                    &nbsp;
                                    <input id="Text22" type="text" /></td>
                                <td>
                                    <input id="Text27" type="text" /></td>
                            </tr>
                            <tr>
                                <td>
                                    Vegzettseg(2)</td>
                                <td>
                                    &nbsp;
                                    <input id="Text20" type="text" /></td>
                                <td>
                                    <input id="Text26" type="text" /></td>
                            </tr>
                            <tr>
                                <td>
                                    Vegzettseg(3)
                                </td>
                                <td>
                                    &nbsp;
                                    <input id="Text21" type="text" /></td>
                                <td>
                                    <input id="Text28" type="text" /></td>
                            </tr>
                        </table>
                    </div>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr><td>
                <div class="subForm">
                <h3>Lakcim</h3>
                    <table style="width:100%;">
                        <tr>
                            <td>
                                Iranyitoszam*</td>
                            <td>
                                <input id="Text4" name="ZIP" type="text" value="<?php echo $_POST['ZIP']?>" /></td>
                            <td>
                                    <div class="errorMessage">
                                        <?php echo $ErrorList['ZIP'] ?></div>
                                </td>
                        </tr>
                        <tr>
                            <td>
                                Varos*</td>
                            <td>
                                <input id="Text5" name="City" type="text" value="<?php echo $_POST['City']?>" /></td>
                            <td>
                                    <div class="errorMessage">
                                        <?php echo $ErrorList['City'] ?></div>
                                </td>
                        </tr>
                        <tr>
                            <td>
                                Utca*</td>
                            <td>
                                <input id="Text6" name="Street" type="text"  value="<?php echo $_POST['Street']?>"/></td>
                            <td>
                                    <div class="errorMessage">
                                        <?php echo $ErrorList['Street'] ?></div>
                                </td>
                        </tr>
                        <tr>
                            <td>
                                Hazszam*</td>
                            <td>
                                <input id="Text7" name="Number" type="text" value="<?php echo $_POST['Number']?>" /></td>
                            <td>
                                    <div class="errorMessage">
                                       <?php // echo $ErrorList['Number'] ?></div>
                                </td>
                        </tr>
                    </table>
                </div>
                </td><td>
                    <div class="subForm">
                    <h3>Nyelvtudas</h3>
                        <table style="width: 100%;">
                            <?php include("LanguageSelector.php") ?>
<!--                            <tr>
                                <td>
                                    nyelv (1)</td>
                                <td>
                                    <select id="Select1" name="D1" >
                                        <option>Choose...</option>
                                    </select>
                                </td>
                                <td>
                                    <select id="Select4" name="D4">
                                        <option>Choose..</option>
                                    </select>                                    
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    nyelv (2)
                                </td>
                                <td>
                                    <select id="Select2" name="D2">
                                        <option>Choose sthin...</option>
                                    </select>
                                </td>
                                <td>
                                    <select id="Select5" name="D5">
                                        <option>Choose sthin...</option>
                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    nyelv (3)
                                </td>
                                <td>
                                    <select id="Select3" name="D3">
                                        <option>Choose sthin...</option>
                                    </select>
                                </td>
                                <td>
                                    <select id="Select6" name="D6">
                                        <option>Choose sthin...</option>
                                    </select>
                                </td>
                            </tr>-->
                        </table>
                    </div>
                </td><td></td></tr>
            <tr>
                <td>
                    <div class="subForm">
                    <h3>Elerhetosegek</h3>
                        <table style="width:100%;">
                            <tr>
                                <td>
                                    Mobil* (201234567)</td>
                                <td>
                                    <input id="Text8" name="MobilePhone" type="text" value="<?php echo $_POST['MobilePhone']?>" /></td>
                                <td>
                                    <div class="errorMessage">
                                        <?php echo $ErrorList['MobilePhone'] ?></div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Vezetekes* (52123456)</td>
                                <td>
                                    <input id="Text9" name="HomePhone" type="text" value="<?php echo $_POST['HomePhone']?>" /></td>
                                <td>
                                    <div class="errorMessage">
                                        <?php echo $ErrorList['HomePhone'] ?></div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Email*</td>
                                <td>
                                    <input id="Text10" type="text" name="Email" value="<?php echo $_POST['Email']?>"  /></td>
                                <td>
                                    <div class="errorMessage">
                                        <?php echo $ErrorList['Email'] ?></div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
                <td>
                    <div class="subForm">
                    <h3>Tapasztalat</h3>
                        <table style="width:100%;">
                            <tr>
                                <td>
                                    Tapasztalat 1</td>
                                <td>
                                    <input id="Text16" type="text" /></td>
                                <td>
                                    <input id="Text23" type="text" /></td>
                            </tr>
                            <tr>
                                <td>
                                    Tapasztalat 2</td>
                                <td>
                                    <input id="Text17" type="text" /></td>
                                <td>
                                    <input id="Text24" type="text" /></td>
                            </tr>
                            <tr>
                                <td>
                                    Tapasztalat 3</td>
                                <td>
                                    <input id="Text18" type="text" /></td>
                                <td>
                                    <input id="Text25" type="text" /></td>
                            </tr>
                        </table>
                    </div>
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    <div class="subForm">
                        <table >
                            <tr>
                                <td>
                                    <input id="Submit1" type="submit" value="Regisztral" name="Button" class="myButton" />
                                    <input id="Submit2" type="submit" value="Torol" name="ClearButton"class="myButton" />
                                </td>
                                
                                <td>
                                    <p>Debugger:</p>
                                    <?php echo $message; ?>
                                    
                                </td>
                                
                            </tr>
                            
                            </table>
                            
                    </div>
                </td>
                <td>&nbsp;</td>
                <td></td>
            </tr>
                    <tr>
                    <td>
                    </td>
                    </tr>
        </table>        
    </div>
    </form>
</body>
</html>
